find the smallest divisor given a threshold

welcome to shbcf.ru